package policies

import (
	"gitee.com/sweetsunnyflower/carpooling-server-go/app/models/user_follow"
)

func CanViewUserFollow(userId uint64, userFollow user_follow.UserFollow) bool {
	// return userId == userFollow.UserId
	return true
}

func CanModifyUserFollow(userId uint64, userFollow user_follow.UserFollow) bool {
	// return userId == userFollow.UserId
	return true
}

func CanCreateUserFollow(userId uint64, userFollow user_follow.UserFollow) bool {
	// return userId == userFollow.UserId
	return true
}

func CanUpdateUserFollow(userId uint64, userFollow user_follow.UserFollow) bool {
	// return userId == userFollow.UserId
	return true
}

func CanDeleteUserFollow(userId uint64, userFollow user_follow.UserFollow) bool {
	return userId == userFollow.UserId
}
